<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入css文件 -->
    <link rel="stylesheet" href="css/jquery.fullPage.css">
    <style>
        .section1 { background: url(https://cdn.dowebok.com/77/1.jpg) 50%;}
        .section2 { background: url(https://cdn.dowebok.com/77/2.jpg) 50%;}
        .section3 { background: url(https://cdn.dowebok.com/77/3.jpg) 50%;}
        .section4 { background: url(https://cdn.dowebok.com/77/4.jpg) 50%;}
    </style>        
    <!-- 引入jQuery文件 -->
    <script src="js/jQuery.min.js"></script>
    <!-- 引入jQuery插件文件 -->
    <script src="js/jquery.fullPage.min.js"></script>
    <script>
        $(function(){
	        $('#dowebok').fullpage({
		    sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', '#f90'], // 跟换每一屏的颜色
            navigation:true
	    });
    });
    </script>
</head>
<body>
    <div id="dowebok">
        <div class="section section1">
            <h3>第一屏</h3>
        </div>
        <div class="section section2">
            <h3>第二屏</h3>
        </div>
        <div class="section section3">
            <h3>第三屏</h3>
        </div>
        <div class="section section4">
            <h3>第四屏</h3>
        </div>
    </div>
</body>
</html>